<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<h:panelGroup 
	xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.org/ui"
    xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head >
    <h:outputStylesheet library="css" name="main.css" />
</h:head>
<h:body  >
	
	<h:form id="formListAllDogs" > 
		<div>
	    	<p:dataTable value="#{dogListarBean.listDog}" 
	        			 id="tableListDog"
	        			 var="dog" 
	        			 styleClass="table"
	        			 headerClass="tableColumnsHeader" 
	        			 rowClasses="tableFirstLine,tableNextLine" >
	        			 
	            <p:column headerText="#{msgs.dogName}">
	            	<h:outputText value="#{dog.name}" />
	            </p:column>
	            
	            <p:column headerText="#{msgs.dogWeight}">
	            	<h:outputText value="#{dog.weight}" />
	            </p:column>
	        </p:dataTable>
		</div>
    
    </h:form>
</h:body>
</h:panelGroup>